package tx.bjdacp.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.*;

import javacommon.base.*;
import javacommon.util.*;

import cn.org.rapid_framework.util.*;
import cn.org.rapid_framework.web.util.*;
import cn.org.rapid_framework.page.*;
import cn.org.rapid_framework.page.impl.*;

import tx.bjdacp.model.*;
import tx.bjdacp.dao.*;
import tx.bjdacp.service.*;
import tx.bjdacp.vo.query.*;

@Service
@Transactional
public class SampleInfoManager extends BaseManager<SampleInfo,java.lang.Integer>{

	private SampleInfoDao sampleInfoDao;
	/**增加setXXXX()方法,spring就可以通过autowire自动设置对象属性,请注意大小写*/
	public void setSampleInfoDao(SampleInfoDao dao) {
		this.sampleInfoDao = dao;
	}
	public EntityDao getEntityDao() {
		return this.sampleInfoDao;
	}
	
	@Transactional(readOnly=true)
	public Page findPage(SampleInfoQuery query) {
		return sampleInfoDao.findPage(query);
	}
	
}
